package main.java.com.cooljie.dao;

import com.cooljie.entity.Course;

import java.util.List;

public interface CourseMapper {
    int deleteByPrimaryKey(Integer courseId);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Integer courseId);
    List<Course> selectAllCourse();

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
}